//
//  YWNotice.h
//  maintain
//
//  Created by Kyo on 16/3/4.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YWHandler;

typedef NS_ENUM(NSUInteger, YWNoticeType) {
    YWNoticeTypeOfMe = 0, // 我的
    YWNoticeTypeOfOthers = 1, //我收到的
    YWNoticeTypeOfAll = 1, //所有的
};

@interface YWNotice : NSObject

/**通知ID*/
@property (nonatomic, assign) NSInteger noticeId;
/**编号*/
@property (nonatomic, copy) NSString* workSequence;
/**通知标题*/
@property (nonatomic, copy) NSString* title;
/**通知内容*/
@property (nonatomic, copy) NSString* content;
/**发布人*/
@property (nonatomic, strong) YWHandler *fromUser;
/**发布时间*/
@property (nonatomic, assign) NSTimeInterval createTime;
/**图片*/
@property (nonatomic, strong) NSArray *imagesList;
/**附件*/
@property (nonatomic, strong) NSArray *attachmentList;
///**回复评论*/
//@property (nonatomic, strong) NSArray *workReplyList;
/**文字过多时出现全文用以展开*/
@property (nonatomic, assign) BOOL isExpand;
/**@的人集合*/
@property (nonatomic, strong) NSArray *observers;
/**@的人的id串*/
@property (nonatomic, copy) NSString *observerIds;


/**接收部门数组*/
@property (nonatomic, strong) NSArray *departmentReceivers;
/**接收机构数组*/
@property (nonatomic, strong) NSArray *organizationReceivers;
/**接收的机构和部门的名称拼接(名称逗号隔开)*/
@property (nonatomic, copy) NSString *receivers;
/**接收的机构和部门的Id拼接(Id逗号隔开)*/
@property (nonatomic, copy) NSString *receiverIds;
/**接收的机构NO拼接(Id逗号隔开)*/
@property (nonatomic, copy) NSString *organizationNos;
@end

